﻿<Window x:Class="GlobalizationTools.AboutWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="About"
        ShowInTaskbar="False"
        ResizeMode="NoResize"
        WindowStyle="SingleBorderWindow"
        WindowStartupLocation="CenterOwner"
        Icon="/GlobalizationTools;component/ViewModel/Images/Resource.png"
        Background="{DynamicResource GradientBackgroundBrush}"
        SizeToContent="Height"
        Width="325">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="ViewModel\Templates.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid Margin="16">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal"
                    Margin="0,4">
            <Image Source="Icon.ico"
                   Width="32"
                   Height="32" />
            <TextBlock Text="Globalization Tools"
                       FontSize="16"
                       FontStyle="Normal"
                       FontWeight="Bold"
                       Margin="8,0,0,0"
                       VerticalAlignment="Center" />
        </StackPanel>
        <TextBlock Margin="0,4,0,0"
                   Grid.Row="1">
            Copyright © <Hyperlink NavigateUri="mailto://sebasgariepy@gmail.com"
                                   Click="Hyperlink_Click">Sébastien Gariépy</Hyperlink> 2009-2010.
        </TextBlock>
        <TextBlock Grid.Row="2"
                   Margin="0,0,0,4"
                   TextWrapping="Wrap"
                   Text="{LocText GlobalizationTools:LocalizationResource:Allrightsreserved}" />
        <TextBlock Grid.Row="3"
                   Margin="0,4"
                   TextWrapping="Wrap"
                   Text="{LocText GlobalizationTools:LocalizationResource:Appdescription}" />
        <Button Grid.Row="4"
                Content="{LocText GlobalizationTools:LocalizationResource:Close}"
                HorizontalAlignment="Right"
                Padding="16,2,16,4"
                Margin="0,8,0,0"
                IsDefault="True"
                Click="Button_Click" />
    </Grid>
</Window>
